<?php /* Smarty version 2.6.19, created on 2010-11-04 14:27:37
         compiled from uc_order_all_content.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'uc_order_all_content.html', 12, false),array('modifier', 'ereg', 'uc_order_all_content.html', 14, false),)), $this); ?>
<table width="95%" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="30%" style="font-size:16px">总共查询到<span style="color:#900"><?php echo $this->_tpl_vars['productcount']; ?>
</span>个记录</td>
    <td width="70%" align="right">&nbsp;</td>
  </tr>
</table>
<?php if ($this->_tpl_vars['productcount'] != '0'): ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['allrs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?><table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
      <tr>
        <td width="130"><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['creattime']; ?>
</td>
        <td width="235" align="center" ><a href="uc_order_show.php?id=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['id']; ?>
"  ><span style="color:#039; text-decoration:underline"><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['dingdanhao']; ?>
</span></a></td>
        <td width="67" align="left">￥<?php echo ((is_array($_tmp=$this->_tpl_vars['allrs'][$this->_sections['i']['index']]['zongjia'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
</td>
        <td width="200" align="right"><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['classname1']; ?>
</td>
        <td width="89" align="right"><a href="uc_order_show.php?id=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['id']; ?>
" >查看</a><?php if (((is_array($_tmp=$this->_tpl_vars['allrs'][$this->_sections['i']['index']]['rootid1'])) ? $this->_run_mod_handler('ereg', true, $_tmp, '0,1,') : smarty_modifier_ereg($_tmp, '0,1,')) == '1' && ((is_array($_tmp=$this->_tpl_vars['allrs'][$this->_sections['i']['index']]['rootid'])) ? $this->_run_mod_handler('ereg', true, $_tmp, '0,2,') : smarty_modifier_ereg($_tmp, '0,2,')) == '1'): ?> <a href="inc/uc_user_save_inc.php?deleteorderid=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['id']; ?>
&show=<?php echo $_GET['show']; ?>
" onclick="return confirm('确定取消订单吗?');">取消</a><?php endif; ?></td>
      </tr>
      <tr>
        <td colspan="5" bgcolor="#eeeeee"  height="1"></td>
        </tr>
    </table><?php endfor; endif; ?>
   <table width="95%" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="30%">&nbsp;</td>
    <td width="70%" align="right"><?php echo $this->_tpl_vars['pagetext']; ?>
</td>
  </tr>
</table>
<?php else: ?>
<table width="457" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="441" colspan="3" align="center" valign="middle">没有查询到相关的记录！</td>
  </tr>
</table>
<?php endif; ?>